How to set up alias in linuxSetting alias in centos is relatively simple, for example:Vim/root/. bashrcSample code:AddAlias rm = 'rm-I'Detailed description of alias commands for setting commands in Linux aliasFunction description: sets the alias of
CentOS in the alias command to explain
Alias command
Function Description: We are in the management of the system must have some we often fixed use, but also very long command. Then we can give these long series of commands an alias. This long
This essay will explain in detail the Linux system's advanced command of the network card, IP alias, and the knowledge of multiple NIC bindings under Linux.
First, the Network card Advanced command
In a previous essay on the CentOS of Linux
This article is from the "Knowledge Forest"
In the previous example, the communication between the container and the container is done through the IP address in the network, which is obviously unreasonable, because the IP address may change when the
Linux centos host name color settings and alias settings, linuxcentos
It's simple and interesting to write today. The reason why the host name color settings and alias settings are written together is that their settings are all in a file .. Bashrc
Alias simplifies complex command strings so that a single word or a simplified command can implement complex (usually long strings with many parameters) commands.Basic usage:Alias Simplify command = ' actual long string command '//actual long string
Write something simple and interesting today. As for why the host name color settings and alias settings are written together because their settings are in a file. . BASHRC. The . BASHRC is placed under the cd/root directory!This file mainly
In Linux, mis-typing the rm command is an easy task. Therefore, it is very important to avoid the harm caused by the rm command. In Linux, it is actually very easy to implement rm command interaction. you only need to simply use the rm-I command.
Use of command alias in CentOSIn Linux, mis-typing the rm command is an easy task. Therefore, it is very important to avoid the harm caused by the rm command. In Linux, it is actually very easy to implement rm command interaction. You only need to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.